package com.maoyu.cloud.api.mapper;

import com.maoyu.cloud.api.entity.LoginEntity;
import com.maoyu.cloud.login.entity.LoginUserEntity;
import com.maoyu.cloud.mybatis.entity.PtUserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ApiMapper {
    PtUserEntity login(@Param("entity") LoginEntity entity);

    int register(@Param("entity") PtUserEntity ptUserEntity);
}